<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>包裹节点wrap</title>
		<script type="text/javascript" src="../../jQuery/jquery-3.4.1.js"></script>
		<script type="text/javascript">
			$(function(){
				$("#btn").click(function(){
					$("strong").wrap("<em></em>")
				});
				
			})
		</script>
	</head>
	<body>
		<ul>
			<li><strong>HTML</strong></li>
			<li><strong>CSS</strong></li>
			<li><strong>JavaScript</strong></li>
			<li><strong>jQuery</strong></li>
			<li><strong>Canvas</strong></li>
		</ul>
		<input id="btn" type="button" value="包裹节点wrap">
		<p>wrap()方法是将所有元素进行单独的包裹</p>
		
	</body>
</html>
